package com.app.entity;

public class ExcelRowData {

    public static final String TYPE_TEXT = "text";
    public static final String TYPE_DATE = "date";
    public static final String TYPE_SELECT = "select";
    public static final String TYPE_DROP_BUKRS = "drop_bukrs";
    public static final String TYPE_DROP_WERKS = "drop_werks";


    private String fieldChineseName;
    private String tableName;
    private String fieldName;

    /**
     * 是否有条件查询
     */
    private boolean condition;

    /**
     * 是否需要数组模板转换
     */
    private boolean hasArrayTemplate;
    private String arrayTemplateJSON;
    /**
     * 查询条件以excel的为准，若excel没有就才能够数据库获取
     */
    private Integer maxLength;

    public Integer getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(Integer maxLength) {
        this.maxLength = maxLength;
    }

    public String getArrayTemplateJSON() {
        return arrayTemplateJSON;
    }

    public void setArrayTemplateJSON(String arrayTemplateJSON) {
        this.arrayTemplateJSON = arrayTemplateJSON;
    }

    public boolean isHasArrayTemplate() {
        return hasArrayTemplate;
    }

    public void setHasArrayTemplate(boolean hasArrayTemplate) {
        this.hasArrayTemplate = hasArrayTemplate;
    }

    private String type;

    public String getFieldChineseName() {
        return fieldChineseName;
    }

    public void setFieldChineseName(String fieldChineseName) {
        this.fieldChineseName = fieldChineseName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public boolean isCondition() {
        return condition;
    }

    public void setCondition(boolean condition) {
        this.condition = condition;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
